Learn R Programming

mondate (version 1.0)

names method: Assign names to a mondate.

Description

Function to assign names to a mondate.

Usage

# S3 method for mondate
names(x) <- value

Arguments

x

a mondate.

value

the names to assign to x

Details

Assigns the names attribute to the .Data part of x.

Examples

Run this code
YE <- mondate.mdy(12, 31, 2011:2012)
names(YE) <- c("A", "B")

Run the code above in your browser using DataLab